package cn.tedu.eguser.pojo.dto;

import jakarta.validation.constraints.Pattern;
import lombok.Data;

@Data
public class UserAddParam {

    @Pattern(regexp = "^.{6,12}$", message = "用户名长度必须在6-12位之间")
    private String username;
    private String password;
    private String nickname;
}
